<?php

namespace app\index\model;

use think\Model;

class Address extends Model
{
    protected $table='address';
    public function user()
    {
        return $this->belongsTo('User');
    }
    public  function orderNum(){
        return $this->belongsTo('Address','address_id','id');
    }

}
